package com.ellricky.baselib.adapter.visit;


import com.andr.common.ui.adapter.BaseRecyclerAdapter;
import com.andr.common.ui.adapter.SmartViewHolder;
import com.ellricky.baselib.R;
import com.ellricky.baselib.entity.visit.VisitEntity;

public class VisitAdapter extends BaseRecyclerAdapter<VisitEntity> {
    public VisitAdapter() {
        super(R.layout.base_adapter_visit);
    }

    @Override
    protected void onBindViewHolder(SmartViewHolder vh, VisitEntity p1, int i) {
        vh.text(R.id.tvCharacter, "性格：" + p1.getChildNature());
        vh.text(R.id.tvLove, "爱好：" + p1.getLoveInfo());
        vh.text(R.id.tvWish, p1.getBackAnswer());
    }
}